package com.xmy.aboutreflect;

public class TargetObject {

    String value;

    public TargetObject() {
        this.value = "TargetObject";
    }

    public void publicMethod(String s, int num) {
        System.out.println("parameters of publicMethod are " + s + " , " + num);
    }

    private void privateMethod() {
        System.out.println("field of TargetObject is " + value);
    }
}
